/*
 * @Author: error: error: git config user.name & please set dead value or install git && error: git config user.email & please set dead value or install git & please set dead value or install git
 * @Date: 2025-05-10 22:09:05
 * @LastEditors: error: error: git config user.name & please set dead value or install git && error: git config user.email & please set dead value or install git & please set dead value or install git
 * @LastEditTime: 2025-05-12 15:12:43
 * @FilePath: /udp_echo_server/UdpServerMain.cc
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
#include"UdpServer.hpp"
#include<memory>

using namespace log_ns;

int main()
{
    uint16_t port=8899;
    std::string ip="127.0.0.1";

    // EnableScreen();
    std::unique_ptr<UdpServer> usvr=std::make_unique<UdpServer>(ip,port);// C++14标准
    usvr->InitServer();
    usvr->Start();
    return 0;
    
}